import {configureStore} from '@reduxjs/toolkit'
import rootReducer from '@/store/reducers/rootReducer'
import logger from 'redux-logger'
const store=configureStore({
    reducer:rootReducer,
    middleware:getDefaultMiddleware=>getDefaultMiddleware({
        thunk:{
            extraArgument:{}
        }
    }).concat(logger)
})
export default store